﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Runda.EShop.Common.Entity;
using Runda.EShop.Bll;

namespace Runda.EShop.Web.Shared
{
    public partial class MyInfo : BasePage
    {        
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BizCustomerEntity entity = new SystemBll().Get<BizCustomerEntity>(base.User.Identity.LoginUser.UserID);

                ltlName.Text = new SystemBll().Get<BizEnterpriseEntity>(entity.EntID).EntName;
                ltlCode.Text = entity.CustomerCode;

                ltlAbbrName.Text = entity.DeptName;
                //ltlLoginID.Text = entity.LoginID;
            }
        }
    }
}